function renderer(domString, container){
    container.innerHTML = domString;
}


const {effect ,ref} = VueReactivity;

const count = ref(1);


effect(()=>{
  renderer(`
    <h1>${count.value}</h1>
    `,
    document.querySelector('#app')
  )
})

count.value++

const btn = document.querySelector('.btn');

btn.addEventListener('click',()=>{
    count.value++;
})